package app.security;

import java.util.ArrayList;
import java.util.List;

/**
 * Group of applications to stablish security level to users
 * 
 * @author eduard
 * 
 */
public class AppGroup {
	private String name;
	private List<String> appNames;

	public AppGroup() {
		appNames = new ArrayList<String>();
	}
	public String getAppNamesString() {
		String s = "";
		for (String ap : getAppNames()) {
			s = s + ap + ";";
		}
		return s;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<String> getAppNames() {
		return appNames;
	}

	public void setAppNames(List<String> appNames) {
		this.appNames = appNames;
	}

}
